#ifndef ellipse_h
#define ellipse_h

#include "shape.h"

class ellipse : public shape
{
	friend ostream& operator<<(ostream &output,ellipse e);

protected:

		int m_br;
		int m_sr;

public:

		ellipse(){m_br = m_sr = 0;}
		ellipse(const point &upper_left,int m_br, int m_sr);
		void SetBr(int a){m_br = a;}
		int GetBr() const{return m_br;}
		void SetSr(int b){m_sr = b;}
		int GetSr() const{return m_sr;}
		void Draw(HWND hwnd,int xt, int yt);
		void Draw(HWND hwnd);
		void Hide(HWND hwnd);
		int GetClassID(){return 3;}

		bool operator==(const ellipse &right) const;
		const ellipse& operator =(const ellipse &right);
};
#endif